CoderBridge
  • 探索
  • 學習
  • 贊助
  • 社群
會員登入

CS50 Form


adrianwudev in CS 50
Sep 03, 2022

We can create a simple form action to google.com/search by using the attribute of the form.

The name of the first input called q, it is because this input can be used like ?q=input, at the end of the google.com/search, which can do a GET from google website with the input named q.

<form action="https://www.google.com/search" method="get">
    <input name="q" type="search">
    <input type="submit" value="search">
</form>
#html #form


0 0 0



adrianwudev


你可能感興趣的文章

[ 筆記 ]資訊安全 - 雜湊密碼:hash

[ 筆記 ]資訊安全 - 雜湊密碼:hash

krebikshaw
[ CSS 06 ] animation

[ CSS 06 ] animation

tzutzu858
每日心得筆記 2020-06-29(一)

每日心得筆記 2020-06-29(一)

半夏





留言討論





解決方案

  • 功能特色
  • FAQ 常見問題
  • Changelog

社群

  • 加入我們的 Discord
  • 建議回饋與功能許願
  • Facebook 粉絲專頁

公司

  • 官方部落格
  • 聯絡我們
  • Follow @CoderBridgeHQ

Country/Region


© Copyright 2022 CoderBridge, Inc. All rights reserved. Various trademarks held by their respective owners. Special Thanks to Freepik. 墨俠科技:83783964.
歡迎回家
使用 Github 帳號登入 使用 Google 帳號登入
免費加入 CoderBridge
使用 Github 帳號註冊 使用 Google 帳號註冊